home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / apidev / shotbl.arc / TYPEDEF.H < prev    next >
Text File  |  1988-11-18  |  911b  |  49 lines

  1. /*****************************************************************************
  2.  *
  3.  * Program Name:  DATA TYPE DEFINITIONS FOR SHTABLE.C
  4.  *
  5.  * Filename:      typedef.h
  6.  *
  7.  * Date Created:  November 18, 1988
  8.  *
  9.  * Version:          1.0
  10.  *
  11.  * Programmers:      Thomas Brough
  12.  *
  13.  * Files used:
  14.  *
  15.  * Date Modified: 
  16.  *
  17.  * Modifications: 
  18.  *
  19.  * Comments:
  20.  *
  21.  ****************************************************************************/
  22.  
  23.  
  24. #define    BYTE    unsigned char
  25. #define    WORD    unsigned int
  26. #define    DWORD    unsigned long
  27.  
  28. typedef    struct    ConnIDTable
  29. {
  30.     BYTE    InUseFlag;
  31.     BYTE    ConnID;
  32.     BYTE    ServerNetAddress[4];
  33.     BYTE    ServerNodeAddress[6];
  34.     BYTE    ServerSocket[2];
  35.     BYTE    ReceiveTimeOut[2];
  36.     BYTE    RouterAddress[6];
  37.     BYTE    SeqNumber;
  38.     BYTE    LogicalConnNumber;
  39.     BYTE    ConnStatus;
  40.     BYTE    MaxTimeOut[2];
  41.     BYTE    Unused[5];
  42. }SERVER;
  43.  
  44. typedef    struct    ServerNameTable
  45. {
  46.     BYTE    serverName[48];
  47. }NAME;
  48.  
  49.